<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head th:include="/common_head :: commonHead('user')"></head>
<body>
<div class="page-container">
    <div class="left-content">
        <div class="inner-content">
            <div class="header-section">
                <div th:include="/header :: header"></div>
                <div class="clearfix"></div>
            </div>
            <div class="outter-wp">
                <div class="sub-heard-part">
                    <ol class="breadcrumb m-b-0">
                        <li><a href="index.html">Home</a></li>
                        <li class="active">User</li>
                    </ol>
                </div>
            </div>
            <div class="graph-visual">
                <h2 class="inner-tittle">用户管理</h2>
                <div class="graph">
                    <div class="graph">
                        <div class="tables">
                            <table class="table table-bordered">
                                <thead>
                                <tr>
                                    <th>#</th>
                                    <th>用户名</th>
                                    <th>注册时间</th>
                                    <th>权限</th>
                                    <th>操作</th>
                                </tr>
                                </thead>
                                <tbody th:each="user:${userList}">
                                <tr th:if="${user}">
                                    <th scope="row">.</th>
                                    <td><label th:text="${user.getAccount()}"></label></td>
                                    <td><label th:text="${user.getRegTime()}"></label></td>
                                    <td><label th:text="${user.getRole()}"></label></td>
                                    <td><a th:href="@{'/rmUser/'+${user.getId()}}">删除</a></td>
                                </tr>
                                </tbody>
                            </table>
                        </div>
                    </div>
                </div>
                <footer th:include="/footer :: footer">
                </footer>
            </div>
        </div>
        <div class="sidebar-menu" th:include="/sidebar :: sidebar"></div>
        <div class="clearfix"></div>
    </div>
</div>

</body>
</html>